package com.ruoyi.bargain.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.base.BaseEntity;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 砍价报名表 wxact_bargain_registration
 * 
 * @author lzy
 * @date 2019-03-07
 */
public class BargainRegistration extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	
	/**  */
	private String id;
	/** 活动id */
	private String actId;
	/** 活动参与人openid */
	private String openid;
	/** 活动参与人昵称 */
	private String nickname;
	/** 活动参与人头像 */
	private String head;
	/** 产品名称 */
	private String productName;
	/** 产品价格 */
	private BigDecimal productPrice;
	/** 砍后价格 */
	private BigDecimal productNewPrice;
	/** 创建时间 */
	private Date createTime;
	/** 更新时间 */
	private Date updateTime;
	/** 领奖状态0:未领奖;1:已领奖 */
	private String awardsStatus;
	/** 对应微信平台原始id */
	private String jwid;

	public void setId(String id) 
	{
		this.id = id;
	}

	public String getId() 
	{
		return id;
	}
	public void setActId(String actId) 
	{
		this.actId = actId;
	}

	public String getActId() 
	{
		return actId;
	}
	public void setOpenid(String openid) 
	{
		this.openid = openid;
	}

	public String getOpenid() 
	{
		return openid;
	}
	public void setNickname(String nickname) 
	{
		this.nickname = nickname;
	}

	public String getNickname() 
	{
		return nickname;
	}
	public void setHead(String head) 
	{
		this.head = head;
	}

	public String getHead() 
	{
		return head;
	}
	public void setProductName(String productName) 
	{
		this.productName = productName;
	}

	public String getProductName() 
	{
		return productName;
	}
	public void setProductPrice(BigDecimal productPrice) 
	{
		this.productPrice = productPrice;
	}

	public BigDecimal getProductPrice() 
	{
		return productPrice;
	}
	public void setProductNewPrice(BigDecimal productNewPrice) 
	{
		this.productNewPrice = productNewPrice;
	}

	public BigDecimal getProductNewPrice() 
	{
		return productNewPrice;
	}
	public void setCreateTime(Date createTime) 
	{
		this.createTime = createTime;
	}

	public Date getCreateTime() 
	{
		return createTime;
	}
	public void setUpdateTime(Date updateTime) 
	{
		this.updateTime = updateTime;
	}

	public Date getUpdateTime() 
	{
		return updateTime;
	}
	public void setAwardsStatus(String awardsStatus) 
	{
		this.awardsStatus = awardsStatus;
	}

	public String getAwardsStatus() 
	{
		return awardsStatus;
	}
	public void setJwid(String jwid) 
	{
		this.jwid = jwid;
	}

	public String getJwid() 
	{
		return jwid;
	}

    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("actId", getActId())
            .append("openid", getOpenid())
            .append("nickname", getNickname())
            .append("head", getHead())
            .append("productName", getProductName())
            .append("productPrice", getProductPrice())
            .append("productNewPrice", getProductNewPrice())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("awardsStatus", getAwardsStatus())
            .append("jwid", getJwid())
            .toString();
    }
}
